package com.base.service.impl;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.mapper.voipmapper.SelfShopOrderCacheMapper;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.po.voip.SelfShopOrderCache;
import com.base.po.voip.SelfShopOrderCacheExample;
import com.base.service.AboutsService;
import com.base.service.SelfShopOrderCacheService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("selfShopOrderCacheService")
public class SelfShopOrderCacheServiceImpl implements SelfShopOrderCacheService {
	
	@Autowired
	private SelfShopOrderCacheMapper selfShopOrderCacheMapper;


	@Override
	public int countByExample(SelfShopOrderCacheExample example) {
		return selfShopOrderCacheMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(SelfShopOrderCacheExample example) {
		return selfShopOrderCacheMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return selfShopOrderCacheMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int deleteByUserID(String userid) {
		return selfShopOrderCacheMapper.deleteByUserID(userid);
	}

	@Override
	public int insert(SelfShopOrderCache record) {
		return selfShopOrderCacheMapper.insert(record);
	}

	@Override
	public int insertSelective(SelfShopOrderCache record) {
		return selfShopOrderCacheMapper.insertSelective(record);
	}

	@Override
	public List<SelfShopOrderCache> selectByGoodsID(String goodsid, String userid) {
		return selfShopOrderCacheMapper.selectByGoodsID(goodsid, userid);
	}

	@Override
	public List<SelfShopOrderCache> selectByExample(SelfShopOrderCacheExample example) {
		return selfShopOrderCacheMapper.selectByExample(example);
	}

	@Override
	public List<SelfShopOrderCache> selectByUserID(String userid) {
		return selfShopOrderCacheMapper.selectByUserID(userid);
	}

    @Override
    public SelfShopOrderCache selectByPrimaryKey(String id) {
        return selfShopOrderCacheMapper.selectByPrimaryKey(id);
    }

    @Override
	public int updateByExampleSelective(SelfShopOrderCache record, SelfShopOrderCacheExample example) {
		return selfShopOrderCacheMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SelfShopOrderCache record, SelfShopOrderCacheExample example) {
		return selfShopOrderCacheMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SelfShopOrderCache record) {
		return selfShopOrderCacheMapper.updateByPrimaryKeySelective(record);
	}
}
